﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Static class containing all variables and constants that can be used at application-wide scope
/// </summary>
public static class ApplicationGlobalVariables
{
    //TODO: gets those variables from web.config
    /// <summary>
    /// LINQ Base DataContext Object to work with database
    /// </summary>
    public static KillDaBugsDataContext KillDaBugsDatabase = new KillDaBugsDataContext();

    /// <summary>
    /// salt to be added to password hash for extra security, edit as your will
    /// </summary>
    public static string Md5HashSalt = "fd0762b7532e86365e231e92bfc50d8c";

    /// <summary>
    /// change this to your home address
    /// </summary>
    public static string HomeUrl = "http://localhost:9999/";

    /// <summary>
    /// number of dates to save a user login info in cookies
    /// </summary>
    public static int DaysUntilReLogin = 1;

    /// <summary>
    /// default number of bugs per page displayed on bug page
    /// </summary>
    public static int DefaultBugsPerPage = 20;
}